# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'I:\workspace\todo\ui\task.ui'
#
# Created: Fri Jul 22 20:21:49 2011
#      by: pyside-uic 0.2.10 running on PySide 1.0.4
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui

class Ui_TaskDialog(object):
    def setupUi(self, TaskDialog):
        TaskDialog.setObjectName("TaskDialog")
        TaskDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        TaskDialog.resize(410, 140)
        TaskDialog.setMinimumSize(QtCore.QSize(410, 140))
        TaskDialog.setWindowTitle("")
        self.verticalLayout = QtGui.QVBoxLayout(TaskDialog)
        self.verticalLayout.setSpacing(5)
        self.verticalLayout.setContentsMargins(5, 5, 5, 5)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName("gridLayout")
        self.buttonBox = QtGui.QDialogButtonBox(TaskDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Vertical)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 0, 1, 1, 1)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label = QtGui.QLabel(TaskDialog)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.label_2 = QtGui.QLabel(TaskDialog)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.category_combobox = QtGui.QComboBox(TaskDialog)
        self.category_combobox.setFrame(True)
        self.category_combobox.setObjectName("category_combobox")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.category_combobox)
        self.date_display = QtGui.QLabel(TaskDialog)
        self.date_display.setFrameShape(QtGui.QFrame.NoFrame)
        self.date_display.setFrameShadow(QtGui.QFrame.Plain)
        self.date_display.setText("")
        self.date_display.setObjectName("date_display")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.date_display)
        self.label_4 = QtGui.QLabel(TaskDialog)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_4)
        self.task_entry = QtGui.QTextEdit(TaskDialog)
        self.task_entry.setFrameShape(QtGui.QFrame.StyledPanel)
        self.task_entry.setFrameShadow(QtGui.QFrame.Plain)
        self.task_entry.setObjectName("task_entry")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.task_entry)
        self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)

        self.retranslateUi(TaskDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), TaskDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), TaskDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TaskDialog)

    def retranslateUi(self, TaskDialog):
        self.label.setText(QtGui.QApplication.translate("TaskDialog", "Date", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("TaskDialog", "Category", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("TaskDialog", "Task Details", None, QtGui.QApplication.UnicodeUTF8))

